package com.zyong.design.pattern.flyweight.case2;

/**
 * 非享元类:基地
 * @program: zyong-design-pattern
 * @ClassName: Home
 * @author: zyong
 * @create: 2024-04-06 10:58
 */
public class Home extends AbstractGameRole {
    public Home(String id, String name) {
        super.id = id;
        super.name = name;
    }

    @Override
    public void move() {
        System.out.println("基地不会移动");
    }
}
